<template>
	<view class="box">
	    <!-- 选择日期 -->
		<view class="selectMember">
			<view class="member">
				<text style="position: relative;">{{start_date || '选择日期：'}}
					<picker mode="date" :start="start" :end="end"  @change="bindDateChange" style="position: absolute;left:0;top: 0;width: 100%;height: 100%;">
						<view class="date">{{start_date}}</view>
					</picker> 
				</text>
			</view>
			<view class="save" @click="showModalbtn(1)">保存</view>
			<view class="toSend" @click="showModalbtn(2)">签名发送</view>
		</view>
	
	    <view class="content">
	        <view class="question" v-for="(item,index) in questionnaire" :key="index">
				<view class="title">
					<text>{{index <= 8 ? '0'+(index+1) : index+1}}</text>
					<view>{{item.title}}</view>
				</view>
				<view class="option" v-for="(aitem,aindex) in item.options" :key="aindex">
					<view @click="answer(aitem,item)"><text>{{aitem.userOption}}、{{aitem.title}}</text> 
						<image src="@/static/img/select@2x.png" v-if="aitem.checked2 == false"></image>  
						<image src="@/static/img/selected@2x.png" v-else></image>
					</view>
				</view>
			</view>
	    </view>
		<u-modal v-model="showModal1" :show-cancel-button="true" @confirm="Modalconfirm" :content="showContent"></u-modal>
	</view>
</template>

<script src="@/static/js/monitor/accomplishment/index"></script>

<style lang="scss" scoped>
	@import '@/static/css/monitor/accomplishment/index.scss';
</style>
